\name{ReadDatasetRasterInfo}
\alias{ReadDatasetRasterInfo}
%- Also NEED an '\alias' for EACH other topic documented here.
\encoding{UTF-8}
\title{
Reads the DatasetRaster infomations
}
\description{
Reads the DatasetRaster infomations, about width, height, no-vaue, pixel format.
}
\usage{
ReadDatasetRasterInfo(dataset)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{dataset}{
  
}
}
\details{
%%  ~~ If necessary, more details than the description above ~~
}
\value{
%%  ~Describe the value returned
%%  If it is a LIST, use
%%  \item{comp1 }{Description of 'comp1'}
%%  \item{comp2 }{Description of 'comp2'}
%% ...
}
\references{
%% ~put references to the literature/web site here ~
}
\author{
%%  ~~who you are~~
}
\note{
%%  ~~further notes~~
}

%% ~Make other sections like Warning with \section{Warning }{....} ~

\seealso{
%% ~~objects to See Also as \code{\link{help}}, ~~~
}
\examples{
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (dataset) 
{
    if (is.null(dataset)) {
        stop("dataset must be valid")
    }
    if (!is(dataset, "DatasetRaster")) {
        stop("dataset must be DatasetRaster")
    }
    res <- .iCall("R_DatasetRaster_Read_RasterInfo", dataset@pointer, 
        PACKAGE = "RSuperMap")
    if (is.null(res) || is.logical(res)) {
        warning("Reads dataset raster info failed")
        return(NULL)
    }
    else {
        result <- list()
        result[["width"]] <- res[[1]]
        result[["height"]] <- res[[2]]
        result[["NoValue"]] <- res[[3]]
        result[["PixelFormat"]] <- res[[4]]
        result[["bounds"]] <- .to.bounds(res[[5]])
        return(result)
    }
  }
}
% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
\keyword{ ~kwd1 }% use one of  RShowDoc("KEYWORDS")
\keyword{ ~kwd2 }% __ONLY ONE__ keyword per line
